﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NPMonitor.Launcher
{
    public class SessionRecord
    {
        public DateTime RequestTime { get; set; }
        public DateTime? ResponseTime { get; set; }
        public string URL { get; set; }

        public int TimeSpan
        {
            get
            {
                return ResponseTime.HasValue ? (ResponseTime.Value - RequestTime).Milliseconds : 0;
            }
        }
    }
}
